class Post:
    def __init__(self, title, price, class_one, class_two,  picture_url, author, worthy_num, unworthy_num,
                 collect_num,
                 buy_url, content, class_three):
        self.title = title
        self.price = price
        self.class_one = class_one
        self.class_two = class_two
        self.picture_url = picture_url
        # self.releae_time = releae_time
        self.author = author
        # self.begin_time = begin_time
        # self.end_time = end_time
        self.worthy_num = worthy_num
        self.unworthy_num = unworthy_num
        self.collect_num = collect_num
        self.buy_url = buy_url
        # self.discounts_url = discounts_url
        self.content = content
        self.class_three = class_three

    def toString(self):
        print("信息", self.title, ",", self.price, ",", self.class_one, ",", self.class_two, self.picture_url, ",",
              self.author, ",", self.unworthy_num,
              ",", self.collect_num)
